package xyz.redtorch.client.service;

import java.util.Map;

import xyz.redtorch.pb.CoreField.AccountField;
import xyz.redtorch.pb.CoreField.ContractField;
import xyz.redtorch.pb.CoreField.OrderField;
import xyz.redtorch.pb.CoreField.PositionField;
import xyz.redtorch.pb.CoreField.TickField;
import xyz.redtorch.pb.CoreField.TradeField;

public interface ClientTradeCacheService {

	Map<String, OrderField> getOrderDict();

	Map<String, TradeField> getTradeDict();

	Map<String, PositionField> getPositionDict();

	Map<String, ContractField> getMixContractDict();

	Map<String, AccountField> getAccountDict();

	Map<String, TickField> getMixTickDict();

	void storeOrder(OrderField order);

	void storeTrade(TradeField trade);

	void storeContract(ContractField contract);

	void storePosition(PositionField position);

	void storeAccount(AccountField account);

	void storeTick(TickField tick);

}
